Package-level declarations

Types

Link copied to clipboard
open class ValidatedIdentifier @JvmOverloads constructor(defaultValue: Identifier, val allowableIds: AllowableIdentifiers, validator: EntryValidator<Identifier> = allowableIds) : ValidatedField<Identifier> , Updatable, Translatable, Comparable<Identifier>

A validated Identifier field.

Link copied to clipboard
Link copied to clipboard

Helper to create validation for Registered objects, specifically things in a DefaultedRegistry like Items and Blocks.

Link copied to clipboard
open class ValidatedTagKey<T : Any> @JvmOverloads constructor(defaultValue: TagKey<T>, predicate: Predicate<Identifier>? = null) : ValidatedField<TagKey<T>>

A validated TagKey